﻿using ModelCache.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace Model.SystemDefault
{
    public class BaseConfig:BaseModel
    {
        public string ConstrDataRead { get; set; }
        public string ConstrDataWrite { get; set; }
        public string ConstrQueueWrite { get; set; }
        public string ConstrQueueRead { get; set; }
        public string HandlerTasks { get; set; }
        public string ConfigName { get; set; }
    }
    [Table("System_SetupConfig")]
    public class SetupConfigModel: BaseConfig
    {
        
    }
    [Table("System_UrlCheckerConfig")]
    public class UrlCheckerConfigModel : BaseConfig
    {

    }
    [Table("System_CollectorConfig")]
    public class CollectorConfigModel : BaseConfig
    {
        public int Frequency { get; set; }
        public int MaxErrorTimes { get; set; }
        public int MutiTaskCount { get; set; }
    }
    [Table("System_AnalyerConfig")]
    public class AnalyerConfigModel : BaseConfig
    {
        public int MaxReCollectTimes { get; set; }
    }
    [Table("System_TerminalConfig")]
    public class TerminalConfigModel:BaseModel
    {
        public int SetupConfigID { get; set; }
        public int UrlCheckerConfigID { get; set; }
        public int CollectConfigID { get; set; }
        public int AnalyerConfigID { get; set; }
        public string ConfigName { get; set; }
    }
}       
        